package com.ppx.util;

/**
 * @author wangxiaotao
 * @create 2021-05-25-22:58
 */
public class JsoupStatic {
	//数据地址
	public static final String URL = "https://3g.dxy.cn/newh5/view/pneumonia";
	//定义几个常量防止反爬虫
	public static final String USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:49.0) Gecko/20100101 Firefox/49.0";
	public static final String HOST = "3g.dxy.cn";
	public static final String REFERER = "https://3g.dxy.cn/newh5/view/pneumonia";
	/**
	 * 各省信息
	 */
	public static final String AREA_INFORMATION_REGEX_TEMPLATE = "\\[(.*)\\]";
	public static final String AREA_INFORMATION_ATTRIBUTE = "getAreaStat";
	/**
	 * 总数据
	 */
	public static final String STATIC_INFORMATION_TEMPLATE = "\\{\\\"id\\\".*\\\"\\}";
	public static final String STATIC_INFORMATION_ATTRIBUTE = "getStatisticsService";
}
